class Pig extends Animals {

  var SEX: String = "Female"

  override def Speak(str:String): String = {
    "Pig's World " + str
  }

}

object Pig extends App {

  val pig = new Pig()

  println(pig.SEX)

  println(pig.NAME)

  println(pig.Speak(" hehe "))

  println(pig.Speak( "11"))

}